<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <title>就诊记录</title>
  <%- include('../_global/baseLibsJKDA') %>
    <link rel="stylesheet" href="/static/css/public.css" />
    <link rel="stylesheet" href="/static/css/page-main.css" />
    <script src="/static/js/<%=type%>/pageUrl.js"></script>
    <script src="/static/js/<%=type%>/jkda.js"></script>
    <!-- <script src="/static/js/jkda/mbParse/mb_01_view.js"></script> -->

    <style type="text/css">
      html,
      body {
        width: 100%;
        height: 100%;
        margin: 0px;
      }

      body {
        transform: perspective(1400px) matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
        transform-style: preserve-3d;
        background: #fff;
        /*background-color: transparent;*/
      }

      #ListTabBox {
        background: #fff;
      }

      .mz-list>ul>li .li-box:after {
        width: 0.51429rem;
        height: 1.05714rem;
      }

      
    </style>

</head>

<body>
  <header class="header-box grey fixed">
    <div class="header-content">
      <div class="left-tool">
        <a class="back" href="javascript:void(0);">
          <i class="iconfont icon-back"></i>
        </a>
      </div>
      <div class="title">就诊记录</div>
    </div>
  </header>
  <div class="tab-box">
    <span class="gray-line"></span>
    <ul id="ListTab">
      <li class="active">
        <a>门诊记录</a>
      </li>
      <li>
        <a>住院记录</a>
      </li>
    </ul>
  </div>
  <div id="ListTabBox">
    <div class="tab active">
      <div class="mz-list">
        <ul id="mzjl">
        </ul>
      </div>
    </div>
    <div class="tab">
      <div class="mz-list">
        <ul id="zyjl"></ul>
      </div>
    </div>
  </div>
</body>
<script src="/static/js/jkda/forweb.js"></script>
<script type="text/javascript">
</script>

</html>
<script type="text/html" id="mzjlTpl">
  {{each data}}
  <li onclick="toMzDetail({{$value}})">
    <a class="li-box">
      <div class="black-block" style="margin-right:0.78345rem">
        <span>{{$value.hosName}}</span>
        <span class="black-span">{{$value.depName}}</span>
        <span class="black-span-2">{{$value.doctorName}}</span>
      </div>
      <div class="gray-block">
        <span>就诊时间：</span>
        <span>{{$value.orderDate}}</span>
      </div>
      <div class="gray-block">
        <span>诊断：</span>
        <span>{{$value.diagnose}}</span>
      </div>
    </a>
  </li>
  {{/each}}
</script>
<script type="text/html" id="zyjlTpl">
  {{each data}}
  <li>
    <a class="li-box" onclick="toZyDetail({{$value}})">
      <div class="black-block">
        <span>{{$value.hosName}}</span>
      </div>
      <div class="gray-block">
        <span>入院：</span>
        <span></span>
        <span class="black-span">{{$value.startDate}}</span>
      </div>
      <div class="gray-block">
        <span>出院：</span>
        <span></span>
        <span class="black-span">{{$value.endDate}}</span>
      </div>
      <div class="gray-block">
        <span>诊断：</span>
        <span></span>
      </div>
    </a>
  </li>
  {{/each}}
</script>
<%- include('../_global/mb_01_view') %>